/**
 * creation: 7-mrt-2008
 */
package org.jfonia.connect.arithmetic;

import org.jfonia.connect.BasicNode;
import org.jfonia.connect.Value;

/**
 * @author wijnand.schepens@gmail.com
 *
 */
public class IntAddition extends BasicNode implements Value<Integer>
{
	private Value<Integer> source1;
	private Value<Integer> source2;
	
	public IntAddition(Value<Integer> source1, Value<Integer> source2)
	{
		super();
		this.source1 = source1;
		this.source2 = source2;
	}

	public Integer get()
	{
		return source1.get() + source2.get();
	}
	
	
}
